package cn.harry.modular.society.domain;

import cn.harry.common.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.SqlCondition;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.util.Date;

/**
 * 公告信息
 * @TableName t_gonggaoxinxi
 */
@EqualsAndHashCode(callSuper = true)
@TableName(value ="t_gonggaoxinxi")
@Data
public class Gonggaoxinxi extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;


    /**
     * 标题
     */
    @Schema(description = "标题")
    @TableField(condition = SqlCondition.LIKE)
    private String biaoti;

    /**
     * 内容
     */
    @Schema(description = "内容")
    @TableField(condition = SqlCondition.LIKE)
    private String neirong;

    /**
     * 发布时间
     */
    @Schema(description = "发布时间")
    private Date fabushijian;

    /**
     * 发布人
     */
    @Schema(description = "发布人")
    private String faburen;

}